<%@ page language="java" import="java.util.*,com.imaker.domain.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/system/core.css">
  </head>
  <body>
  <form id="form">
  	<table class="dataTable">
  		<tr class="tableTitle">
  			<td class="title" width="5%">序号</td>
  			<td class="title" width="10%">选择</td>
			<td class="title" width="20%">模块名称</td>
			<td class="title" width="10%">更多URL</td>
			<td class="title" width="10%">类型</td>
			<td class="title" width="10%">排序号</td>
			<td class="title" width="10%">是否可用</td>
  		</tr>
  		<s:if test="page.list!=null&&page.list.size!=0">
  		<s:iterator id="modules" value="page.list" status="i">
		<tr class="tableData">
			<td><s:property value="#i.index+1"/></td>
			<td><input type="checkbox" value='<s:property value="#modules.id"/>' name="idList" ></td>
			<td><s:property value="#modules.modulesName"/></td>
			<td><s:property value="#modules.moreUrl"/></td>
			<td><s:property value="#modules.modulesType.name"/></td>
			<td><s:property value="#modules.sortIndex"/></td>
			<td><s:if test="#modules.stat==1">是</s:if><s:else>否</s:else></td>
		</tr>
		</s:iterator>
		</s:if>
		<s:else>
		<tr class="tableData">
			<td colspan="7" height="43px;">暂时没有相关数据</td>
		</tr>
		</s:else>
  		</table>
   		<s:hidden name="modulesTypeInfo.id" id="modulesTypeInfo_Id"></s:hidden>
   		<jsp:include page="/common/pageHelper.jsp"/>
  	</form>
  </body>
</html>
